package co.laomag.coffee.model.vo;

/**
 * @author 马泽朋
 * @version 1.0
 * @date 2020/4/18 下午 9:42
 */
public class Pagination {
    private int total,page,limit;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return ((page-1)*limit);
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
}
